import requests

req = requests.get('https://www.baidu.com')

print(req.status_code)

print(req.encoding)

print(req.text)

print(req.content)
